using System;
using System.Collections.Generic;
using System.Text;
using System.Data;
using System.Data.OleDb;
using QuanLyThuVien1.DTO;
using QuanLyThuVien1.DAO;

namespace QuanLyThuVien1.BUS
{
   public   class CLoaiSach_Bus
    {
       public DataTable LayDanhSachOfLoai(string theLoai)
       {
           LoaiSach_DAO l = new LoaiSach_DAO();
           return l.layDSTheLoai(theLoai);
       }
       public DataTable LayDSOfMaLoai(string maLoai)
       {
           LoaiSach_DAO l = new LoaiSach_DAO();
           return l.LayDSTheoMaLoai(maLoai);
       }
       public int LayMaLoai(string tentheLoai)
       {
           LoaiSach_DAO l = new LoaiSach_DAO();
           return l.LayMaLoai(tentheLoai);
       }
    }
}
